<template>
  <div class="loading"><img src="../../assets/img/loading.gif" alt=""><span>{{ loadingWord }}</span></div>
</template>

<script>
export default {
  props: {
    loadingWord: {
      type: String,
      default: ''
    }
  },
  data() {
    return {

    }
  }
}
</script>

<style lang="scss" scoped>
  .loading{
    text-align: center;
    z-index: 100;
    width: 100%;
    height:1rem;
    line-height: 1rem;
    img{
      margin: 0 auto;
      width: 0.65rem;
      height: 0.65rem;
      vertical-align: middle;
    }
    span{
      vertical-align: middle;
      margin-left: 0.14rem;
    }
  }
</style>
